
import java.rmi.*;
import java.util.Properties;

public interface WarehouseInterface extends Remote {

	public String getMessage() throws RemoteException;

	public Properties getProducts(String category) throws RemoteException;
	
	public int newSession(String name) throws RemoteException;
	
	public boolean order(String name, int sessionId, String productCode, int amount) throws RemoteException;
	
	public Properties getOrderOverview(String name, int sessionId) throws RemoteException;
	
	public boolean confirmOrder(String name, int sessionId) throws RemoteException;
}
